namespace Extended.NetRouting.Test
{
    /// <summary>
    /// A node in a network
    /// </summary>
    public class MainTestNode
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="MainTestNode"/> class.
        /// </summary>
        /// <param name="name">The name of the new instance.</param>
        public MainTestNode(string name)
        {
            this.Name = name;
        }

        /// <summary>
        /// Gets or sets the name of this instance.
        /// </summary>
        public string Name { get; set; }

        public override string ToString()
        {
            return this.Name;
        }
    }
}